<%@ Page Language="C#" MasterPageFile="~/web.master" AutoEventWireup="true" CodeBehind="alternate_um_add.aspx.cs" Inherits="Shuba.Web.bulk_upload.alternate_um_add" %>
<%@ Register Assembly="Shuba.Framework" Namespace="Shuba.Framework" TagPrefix="cc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">&nbsp;
            <table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
					<td class="text bg_content" bgcolor="#FFFFFF" align="center"><p>&nbsp;</p>
			<table class="black" border="0" width="95%" cellspacing="0" cellpadding="0">
				<tr>
					<td class="title_back" align="left">
					    <table class="text" border="0" width="100%" cellspacing="0" cellpadding="0">
					    <tr>
					    <td class="title_back2" width="2%">&nbsp;</td>
					    <td class="title_back2 title_white" width="30%"><asp:Label ID="LabelTitle" runat="server" Text="Label"></asp:Label></td>
					    <td><span class="title_right"></span></td>
					    </tr>
					    </table>
                    </td>
					<td class="title_back" align="right">
					<a class="text" href="alternate_um_list.aspx">Alternate List</a>&nbsp;&nbsp;
					<a class="text" href="alternate_um_upload.aspx">Upload Data</a>&nbsp;&nbsp;
					</td>				                            
				</tr>
				<tr>
					<td colspan="2" class="border_nobottom bg_subtitle_white">&nbsp; Insert / Update</td>
				</tr>
				<tr>
				<td class="border_nobottom" colspan="2">
				<table class="text" border="0" width="100%" cellspacing="0" cellpadding="2">
					<tr>
						<td class="bg_grid" align="right" width="25%">Cost Center Unit</td>
						<td class="bg_grid2" align="left">
                            <asp:HiddenField ID="hidOldUnitCode" runat="server" /><asp:HiddenField ID="hidOldNIP" runat="server" /><asp:HiddenField ID="hidAlterFor" runat="server" /><asp:HiddenField ID="hidFrom" runat="server" /><asp:HiddenField ID="hidTo" runat="server" />
                            <asp:TextBox ID="txtBranchCode" runat="server" width="100px" MaxLength="5" CssClass="text"></asp:TextBox>
						    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtBranchCode" ErrorMessage="&nbsp;Cost Center Unit is Required"></asp:RequiredFieldValidator>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="25%">NIP</td>
						<td class="bg_grid2" align="left">
                            <asp:TextBox ID="txtNIP" runat="server" width="100px" MaxLength="9" CssClass="text"></asp:TextBox>
						    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtNIP" ErrorMessage="&nbsp;NIP is Required"></asp:RequiredFieldValidator>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right">Alternate For</td>
						<td class="bg_grid2" align="left">
                            <asp:DropDownList ID="ddlAltFor" CssClass="text" Width="25%" runat="server">
                            <asp:ListItem Text="Unit Manager" Value="UM"></asp:ListItem>
                            <asp:ListItem Text="Credit Officer" Value="CO"></asp:ListItem>
                            <asp:ListItem Text="Loan Admin" Value="LA"></asp:ListItem>
                            <asp:ListItem Text="Teller" Value="TL"></asp:ListItem>
                            </asp:DropDownList>
						</td>
					</tr>
					<tr>
						<td class="bg_grid" align="right" width="18%">Effective Date</td>
						<td class="bg_grid2" align="left">
						    <cc:DatePicker ID="txtStartDate" imgDirectory="../images/" ControlCssClass="text" CssClass="text" runat="server"></cc:DatePicker>
						    &nbsp;to&nbsp;
						    <cc:DatePicker ID="txtToDate" imgDirectory="../images/" ControlCssClass="text" CssClass="text" runat="server"></cc:DatePicker>
					    </td>
				    </tr>
					</table>
				    <!-- Error Message -->
				    <table runat=server visible=false id="ErrBox" class="border" border="0" width="100%" cellspacing="0" cellpadding="2">
				    <tr>
				    <td class="bg_grid2" align=center><asp:Label ID="ErrMsg" runat="server" Text="" Font-Bold=true ForeColor="Red"></asp:Label></td>
				    </tr>
				    </table>
				    <!-- End Of Error Message -->
					
				</td></tr>
				<tr>
				<td class="border bg_footer" colspan="2" align=right>
                    <asp:Button ID="btnSubmit" runat="server" Text="Submit" CssClass="buttonsmall" onclick="btnSubmit_Click" />
                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" CssClass="buttonsmall" CausesValidation="False" onclick="btnCancel_Click" />
						&nbsp; &nbsp;</td></tr>
			</table>
					<p></td>
				</tr>
</table>
</asp:Content>

